Addressing Mode Selection in GCC

نویسندگان

  • Naveen Sharma
  • Rakesh Kumar
چکیده

GCC has no formal addressing mode selection mechanism. It uses target hooks to generate valid addressing modes for a target. However, a significant amount of high level information is destroyed while doing this, especially for targets lacking a rich set of addressing modes. This leads to poor aliasing, and subsequently poorer CSE, GCSE, and scheduling. Hence, an unoptimal object code. This paper proposes an abstraction over RTL to generate machine independent addressing modes to achieve better aliasing. The actual addressing modes of the target are exposed after the first scheduling pass, where they are selected based on current execution scenario. Inter block address inheritance is also done at this point. The idea can be extended to specify a general “mid-level” RTL for GCC.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Alias Analysis for Intermediate Code

Most existing alias analysis techniques are formulated in terms of high-level language constructs and are unable to cope with pointer arithmetic. For machines that do not have ’base + offset’ addressing mode, pointer arithmetic is necessary to compute a pointer to the desired address. Most state of the art compilers such as GCC lack the mechanism to determine aliasing between such computed poin...

متن کامل

The Influence of Microprocessor Instructions on the Energy Consumption of Wireless Sensor Networks

The field of low power compilation could be applied to sensor networks to yield significant savings for the sensing, computation, and communications processes in sensor networks. Such savings could come via simple low power savings flags for future compilers used by sensor network developers. In this paper, we instrument the Moteiv Tmote Sky as a representative sensor, and conduct a set of expe...

متن کامل

Foreign Direct Investment and Economic Growth: Evidence from Iran and GCC

Abstract F DI can create employment and reduce poverty, increase the host country’s export capacity causing the developing country to increase its foreign exchange earnings. The aim of this study is to investigate whether FDI affect economic growth in GCC countries over the period 1980-2014 using ARDL approaches. The empirical results show that the FDI is one of the major drivers of e...

متن کامل

A comparison study on the flexural strength and compressive strength of four resin-modified luting glass ionomer cements.

The purpose of this study is to compare the differences in flexural strength and compressive strength between four resin-modified luting glass ionomer cements that are commonly used in clinics. Furthermore, this study investigates the influence of curing mode on the flexural strength and compressive strength of dual-cured resin-modified glass ionomer cements. Initially, flexural strength and co...

متن کامل

Scar Selection in an Optical Fibre

A multimode optical fiber with a D-shaped cross-section has already been proved to constitute a privileged system to image wave functions of a chaotic system. Nevertheless, diffraction of light at the fiber input precludes the excitation of individual wave functions and particularly the scar modes we want to investigate. We show that a mechanism of scar modes selection can be induced by the int...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004